﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace StoreHouseA
{
    public partial class Form7 : Form
    {
        public Form7()
        {
            InitializeComponent();
        }

        private void Form7_Load(object sender, EventArgs e)
        {
            // TODO: 这行代码将数据加载到表“StoreHouseDataSet.tb_inout”中。您可以根据需要移动或移除它。
            this.tb_inoutTableAdapter.Fill(this.StoreHouseDataSet.tb_inout);

            this.reportViewer1.RefreshReport();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            DateTime in_date = dateTimePicker1.Value.Date;
            select_store_flowTableAdapter.Fill(
                this.StoreHouseDataSet.select_store_flow, in_date);
            this.reportViewer1.RefreshReport();
        }
    }
}
